sum = 0
num =0
for i in range(0,101):
    if i%2 == 1:
        sum +=i
    if i%2 ==0:
        num +=i
print("100以内的奇数相加为：",sum)
print("100以内的偶数相加为：",num)


# 变量名取的有点问题
